﻿Public Class Pelicula
    Private _id As Integer
    Public Property Id() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Private _nombre As String
    Public Property Nombre() As String
        Get
            Return _nombre
        End Get
        Set(ByVal value As String)
            _nombre = value
        End Set
    End Property

    Private _descripcion As String
    Public Property Descripcion() As String
        Get
            Return _descripcion
        End Get
        Set(ByVal value As String)
            _descripcion = value
        End Set
    End Property

    Private _genero As Genero
    Public Property Genero() As Genero
        Get
            Return _genero
        End Get
        Set(ByVal value As Genero)
            _genero = value
        End Set
    End Property

    Private _alquileres As ICollection(Of Alquiler)
    Public Overridable Property Alquileres() As ICollection(Of Alquiler)
        Get
            Return _alquileres
        End Get
        Set(ByVal value As ICollection(Of Alquiler))
            _alquileres = value
        End Set
    End Property

End Class
